Optimal. Leaf size=92 \[ \frac {a (A+B) \cos (e+f x)}{2 f \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}-\frac {a B \cos (e+f x)}{c f \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {3050, 2817}
\begin {gather*} \frac {a (A+B) \cos (e+f x)}{2 f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{5/2}}-\frac {a B \cos (e+f x)}{c f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2817
Rule 3050
Rubi steps
\begin {align*} \int \frac {\sqrt {a+a \sin (e+f x)} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{5/2}} \, dx &=(A+B) \int \frac {\sqrt {a+a \sin (e+f x)}}{(c-c \sin (e+f x))^{5/2}} \, dx-\frac {B \int \frac {\sqrt {a+a \sin (e+f x)}}{(c-c \sin (e+f x))^{3/2}} \, dx}{c}\\ &=\frac {a (A+B) \cos (e+f x)}{2 f \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}-\frac {a B \cos (e+f x)}{c f \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.37, size = 101, normalized size = 1.10 \begin {gather*} \frac {\sqrt {a (1+\sin (e+f x))} (A-B+2 B \sin (e+f x)) \sqrt {c-c \sin (e+f x)}}{2 c^3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^5 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.31, size = 137, normalized size = 1.49
method | result | size |
default | \(-\frac {\left (A \left (\cos ^{2}\left (f x +e \right )\right )-A \sin \left (f x +e \right ) \cos \left (f x +e \right )-B \left (\cos ^{2}\left (f x +e \right )\right )+B \sin \left (f x +e \right ) \cos \left (f x +e \right )+2 A \cos \left (f x +e \right )+3 A \sin \left (f x +e \right )-B \sin \left (f x +e \right )-3 A +B \right ) \sin \left (f x +e \right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}}{2 f \left (-1+\cos \left (f x +e \right )-\sin \left (f x +e \right )\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {5}{2}}}\) | \(137\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 94, normalized size = 1.02 \begin {gather*} -\frac {{\left (2 \, B \sin \left (f x + e\right ) + A - B\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{2 \, {\left (c^{3} f \cos \left (f x + e\right )^{3} + 2 \, c^{3} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 2 \, c^{3} f \cos \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )} \left (A + B \sin {\left (e + f x \right )}\right )}{\left (- c \left (\sin {\left (e + f x \right )} - 1\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.48, size = 118, normalized size = 1.28 \begin {gather*} \frac {{\left (4 \, B \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - A \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - B \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{8 \, c^{3} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (A+B\,\sin \left (e+f\,x\right )\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________